/**
 *
 * Copyright 2015 RSVP Technologies Inc. All rights reserved.
 * AddressComponent.java
 *
 */
package com.gfinal.map.geo;

import java.io.Serializable;

/**
 *@author Gao Yudong (gyd@nbicc.com) 
 *@date 2015-3-6
 */
public class AddressComponent implements Serializable {
	private static final long serialVersionUID = 3956108380158095122L;

	private String city = null;
	private String country = null;
	private String direction = null;
	private String distance = null;
	private String district = null;
	private String province = null;
	private String street = null;
	private String street_number = null;
	private int country_code = 0;

	public AddressComponent() {
		super();
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getDirection() {
		return direction;
	}

	public void setDirection(String direction) {
		this.direction = direction;
	}

	public String getDistance() {
		return distance;
	}

	public void setDistance(String distance) {
		this.distance = distance;
	}

	public String getDistrict() {
		return district;
	}

	public void setDistrict(String district) {
		this.district = district;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getStreet() {
		return street;
	}

	public void setStreet(String street) {
		this.street = street;
	}

	public String getStreet_number() {
		return street_number;
	}

	public void setStreet_number(String street_number) {
		this.street_number = street_number;
	}

	public int getCountry_code() {
		return country_code;
	}

	public void setCountry_code(int country_code) {
		this.country_code = country_code;
	}

	@Override
	public String toString() {
		return "AddressComponent [city=" + city + ", country=" + country
				+ ", direction=" + direction + ", distance=" + distance
				+ ", district=" + district + ", province=" + province
				+ ", street=" + street + ", street_number=" + street_number
				+ ", country_code=" + country_code + "]";
	}
}
